﻿' LibWowArmory
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Imports System.Collections.ObjectModel

Namespace roncliProductions.LibWowArmory.Character

    ''' <summary>
    ''' A class containing information about a character's professions.
    ''' </summary>
    ''' <remarks></remarks>
    Public Class Professions

        Private colPrimary As Collection(Of Profession)
        ''' <summary>
        ''' The character's primary professions.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public ReadOnly Property Primary As Collection(Of Profession)
            Get
                Return colPrimary
            End Get
        End Property

        Private colSecondary As Collection(Of Profession)
        ''' <summary>
        ''' The character's secondary professions.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public ReadOnly Property Secondary As Collection(Of Profession)
            Get
                Return colSecondary
            End Get
        End Property

        Protected Friend Sub New(pPrimary As Collection(Of Profession), pSecondary As Collection(Of Profession))
            colPrimary = pPrimary
            colSecondary = pSecondary
        End Sub

    End Class

End Namespace
